<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>



</head>

<body>
<table width="400" border="0" cellspacing="0" cellpadding="0" align="center">
<tr> <td>&nbsp;</td> </tr>
  <tr>
    <td height="30" background="tab/images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="tab/images/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="80%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="tab/images/tb.gif" width="16" height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[系统配置]-[添加管理员]</td>
              </tr>
            </table></td>
            <td width="54%">
			    &nbsp;
			</td>
          </tr>
        </table></td>
        <td width="16"><img src="tab/images/tab_07.gif" width="16" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background=" tab/images/tab_12.gif">&nbsp;</td>
        <td>
          <s:form  action="adminAction!addAdmin.action" method="post" theme="simple">
		<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6" onmouseover="changeto()"  onmouseout="changeback()">
          
           <tr>          
            <td height="30" bgcolor="#FFFFFF"><div align="right"><span class="STYLE1">管理员名字</span></div></td>
            <td height="30" bgcolor="#FFFFFF"><div align="left"><s:textfield name="admin.realEname"/> <s:fielderror cssStyle="color:red"><s:param>realNameError</s:param></s:fielderror></div></td>
           </tr>
		    <tr>          
            <td height="30" bgcolor="#FFFFFF"><div align="right"><span class="STYLE1">登录名</span></div></td>
            <td height="30" bgcolor="#FFFFFF"><div align="left"><s:textfield name="admin.loginName"/><s:fielderror cssStyle="color:red"><s:param>loginNameError</s:param></s:fielderror></div></td>
           </tr>
           
		    <tr>          
            <td height="30" bgcolor="#FFFFFF"><div align="right"><span class="STYLE1">密码</span></div></td>
            <td height="30" bgcolor="#FFFFFF"><div align="left"><s:textfield name="admin.loginPassword"/><s:fielderror cssStyle="color:red"><s:param>loginPasswordError</s:param></s:fielderror></div></td>
           </tr>
		    <tr>          
            <td height="30" bgcolor="#FFFFFF"><div align="right"><span class="STYLE1">角色</span></div></td>
            <td height="30" bgcolor="#FFFFFF"><div align="left"><span class="STYLE1"><s:radio list="#{'1':'管理员','2':'专家'}" name="admin.adminType"/></div></td>
           </tr>
           <tr>          
            <td height="30" bgcolor="#FFFFFF"><div align="right"><span class="STYLE1">状态</span></div></td>
            <td height="30" bgcolor="#FFFFFF"><div align="left"><span class="STYLE1"><s:radio list="#{'0':'启用','1':'停用'}" name="admin.state"/></div></td>
           </tr>
		   <tr>          
            <td height="30" bgcolor="#FFFFFF" colspan="2"><div align="center"><input type="submit"  title="提交"/></div></td>
           </tr>
        </table>
        </s:form>
        </td>
        <td width="8" background="tab/images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
 <!-- <tr>&nbsp;</tr>-->
  <tr>
    <td height="35" background="tab/images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="tab/images/tab_18.gif" width="12" height="35" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="STYLE4">&nbsp;&nbsp</td>
            <td>&nbsp;</td>
          </tr>
        </table></td>
        <td width="16"><img src="tab/images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
